/*
2022-3-13
https://www.acwing.com/problem/content/4314/
*/ 
#include<cstring>
#include<iostream>
#include<algorithm>

using namespace std;

int main()
{
    int n;
    double m;
    cin>>n>>m;
    double ans=1e9;
    while(n--)
    {
        double a,b;
        cin>>a>>b;
        ans=min(ans,m*a/b);
    }
    printf("%.6lf",ans);
    return 0;
}
